using System.Collections.Generic;
using System.Data;
using Catastrophe.BasePC.UI.Model;

namespace Catastrophe.BasePC.UI.DbDal
{
	public interface IBaseUserDal
	{
		DataTable QueryUserBind(string userName, string userNo, string classLine, string depart);

		bool SaveUserBind();

		SysUserEntity CheckLogin(string name, string pwd);

		List<SysUserEntity> GetUserList(string userNo = "");

		bool GetUserNo(ref string result);

		SysUserEntity QueryUserSingle(string userName, string userNo);

		bool CheckPwd(string userName, string userNo, string pwd);

		int AddEntities(List<SysUserEntity> list);
	}
}
